<template>
  <div class="back-top">
    <el-tooltip class="item" effect="dark" content="下载文件" placement="left">
      <el-button icon="el-icon-download" @click="download()"></el-button>
    </el-tooltip>
  </div>
</template>

<script>
export default {
  title: '下载文件',
  name: 'dowmload-file',
  props: {
    filepath: {
      type: String
    }
  },
  data () {
    return {
    }
  },

  methods: {
    download () {
      window.open('static/地信圈客户端产品使用说明.pdf')
    },
  }
}
</script>
<style>
  .back-top {
    position: fixed;
    bottom: 200px;
    right: 100px;
  }
  .back-top .el-button{
    background-color: rgba(0,0,0,0.4);
    color: #FFF;
    font-weight: bold;
    font-size: 25px;
    padding: 8px;
  }
</style>
